@import "./normalize.css";
@import "./reset.css";
@import "./property.less";
@import "./basic.less";
@font20:20px;
@miancolor: #4294FF;
@fontcolor: #9A9A9A;

*{
    margin: 0px;
    padding: 0px;
}

a {
    color: black;
}

// 外边距向左移动20px
.ml20 {
    margin-left: 20px;
}

// 外边距向右移动20px
.mr20 {
    margin-right: 20px;
}

// 外边距向上移动20px
.mt20 {
    margin-top: 20px;
}

// 外边距向下移动20px
.mb20 {
    margin-bottom: 20px;
}
// 文字居中
.txtcter{
    text-align: center;
}
// 字体大小20
.fon20{
    font-size: 20px;
}
// 字体大小16
.fon16{
    font-size: 16px;
}
// 字体大小14
.fon14{
    font-size: 14px;
}
// 字体大小12
.fon12{
    font-size: 12px;
}
// flex布局
.df {
    display: flex;
};

// 水平居中
.jc {
    justify-content: center;
};

// 垂直居中
.ac {
    align-items: center;
};

// 换行
.fr {
    flex-wrap: wrap;
}

// 两端对齐
.sb {
    justify-content: space-between;
}
// 环绕对齐
.sr{
    justify-content: space-around;
}
// 怪异盒子
.borbox{
    box-sizing: border-box;
}
// 相对定位
.pr{
    position: relative;
}
// 绝对定位
.pa{
    position: absolute; 
}
// 固定定位
.pf{
    position: fixed;
}
footer {
    width: 100%;
    height: 70px;
    position: fixed;
    z-index: 20;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    background-color: #fff;
    box-shadow: 0 0 10px 3px #ccc;
    div {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 90px;
        .iconfont {
           font-size: 30px;
          }
    }
    .my,.home,.run,.circle {
        a {
            color: #4797ff;
        } 
    }
}

.boxx {
    background-color: rgba(255, 255, 255, .8);
    width: 150px;
    height: 150px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    .icon-31dianzan {
        font-size: 50px;
        margin: 20px;
    }
    .icon-suoding_huaban {
        font-size: 50px;
        margin: 20px; 
    }
}
// 运动页头部样式
.sportsheader{
    position: fixed;
    top: 0;
    z-index: 20;
    width: 100%;
    height: 60px;
    width: 100%;
    padding: 0 20px;
    line-height: 60px;
    background-color: #fff;
    color: @fontcolor;
    ul{
        height: 100%;
        border-bottom: 1px solid #DDDDDD;
    }
    li{
        position: relative;
        flex: 1;

    }
    .active{
        font-size: @font20;
        color: @miancolor;
        &::after{
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translate(-50%);
            display: block;
            content: "";
            width: 2em;
            height: 2px;
            background-color: @miancolor;
        }
    }
}

.emp{
    height: 60px;
}